const mutations = {
	//修改actionsheet是否显示
	mutationIsShowMoreMens: function(state, pay) {
		//将传递的值 赋值给仓库的值
		state.isSHow = pay;
	},
	//修改登录状态
	mutationlogin:function(state,pay){
		state.isLoginde=pay;
	},
	//修改登录名
	mutationloginname:function(state,py){
		state.loginname=py;
	},
	//修改token值
	mutationtoken:function(state,py){
		state.acctoken=py;
	},
	//实现注销操作
	mutationlogout:function(state,py){
		state.isLoginde=false;
		state.loginname='';
		state.acctoken='';
	},
	//修改id
	mutationAuthor:function(state,py){
		state.author_id=py;
	}
}
export default mutations;
